package fhp.hlhj.giantfold.javaBean;

import java.util.List;

/**
 * author: FHP
 * data: on 2018\1\24 0024 9:47
 * E-Mail: 103945089@qq.com
 */

public class AdvBean {

    /**
     * code : 200
     * msg : Sucess
     * data : [{"adv_id":"1","adv_name":"测试1","adv_title":"测试1","jump_type":"1","jump_url":"https://www.baidu.com","adv_sequense":"1","savename":"d63016c0e1541461f48e49f784535365.png","savepath":"/Public/Uploads/Advertisement/2018-01-23/","position_id":"1","adv_position_name":"左上角","block":"3","width":"100","height":"100","adv_img":"/Public/Uploads/Advertisement/2018-01-23/d63016c0e1541461f48e49f784535365.png"},{"adv_id":"3","adv_name":"测试数据，请勿操作！","adv_title":"lweirpo","jump_type":"1","jump_url":"http://juzhe.kkgrow.com/Admin/Advertisement/addAdv","adv_sequense":"0","savename":"48903bf2933f0a50f13151017111378d.png","savepath":"/Public/Uploads/Advertisement/2018-01-24/","position_id":"1","adv_position_name":"左上角","block":"3","width":"100","height":"100","adv_img":"/Public/Uploads/Advertisement/2018-01-24/48903bf2933f0a50f13151017111378d.png"}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * adv_id : 1
         * adv_name : 测试1
         * adv_title : 测试1
         * jump_type : 1
         * jump_url : https://www.baidu.com
         * adv_sequense : 1
         * savename : d63016c0e1541461f48e49f784535365.png
         * savepath : /Public/Uploads/Advertisement/2018-01-23/
         * position_id : 1
         * adv_position_name : 左上角
         * block : 3
         * width : 100
         * height : 100
         * adv_img : /Public/Uploads/Advertisement/2018-01-23/d63016c0e1541461f48e49f784535365.png
         */

        private String adv_id;
        private String adv_name;
        private String adv_title;
        private String jump_type;
        private String jump_url;
        private String adv_sequense;
        private String savename;
        private String savepath;
        private String position_id;
        private String adv_position_name;
        private String block;
        private String width;
        private String height;
        private String adv_img;

        public String getAdv_id() {
            return adv_id;
        }

        public void setAdv_id(String adv_id) {
            this.adv_id = adv_id;
        }

        public String getAdv_name() {
            return adv_name;
        }

        public void setAdv_name(String adv_name) {
            this.adv_name = adv_name;
        }

        public String getAdv_title() {
            return adv_title;
        }

        public void setAdv_title(String adv_title) {
            this.adv_title = adv_title;
        }

        public String getJump_type() {
            return jump_type;
        }

        public void setJump_type(String jump_type) {
            this.jump_type = jump_type;
        }

        public String getJump_url() {
            return jump_url;
        }

        public void setJump_url(String jump_url) {
            this.jump_url = jump_url;
        }

        public String getAdv_sequense() {
            return adv_sequense;
        }

        public void setAdv_sequense(String adv_sequense) {
            this.adv_sequense = adv_sequense;
        }

        public String getSavename() {
            return savename;
        }

        public void setSavename(String savename) {
            this.savename = savename;
        }

        public String getSavepath() {
            return savepath;
        }

        public void setSavepath(String savepath) {
            this.savepath = savepath;
        }

        public String getPosition_id() {
            return position_id;
        }

        public void setPosition_id(String position_id) {
            this.position_id = position_id;
        }

        public String getAdv_position_name() {
            return adv_position_name;
        }

        public void setAdv_position_name(String adv_position_name) {
            this.adv_position_name = adv_position_name;
        }

        public String getBlock() {
            return block;
        }

        public void setBlock(String block) {
            this.block = block;
        }

        public String getWidth() {
            return width;
        }

        public void setWidth(String width) {
            this.width = width;
        }

        public String getHeight() {
            return height;
        }

        public void setHeight(String height) {
            this.height = height;
        }

        public String getAdv_img() {
            return adv_img;
        }

        public void setAdv_img(String adv_img) {
            this.adv_img = adv_img;
        }
    }
}
